package com.cbox.entity;

import java.util.Date;

/**
 * Created by Administrator on 2017-12-05.
 */
public class Category {
    private long id;
    private String name;
    private String memo;
    private long parentId;
    private int sortIndex;
    private Date inTime;

    public Category(long id, String name, String memo, long parentId, int sortIndex, Date inTime) {
        this.id = id;
        this.name = name;
        this.memo = memo;
        this.parentId = parentId;
        this.sortIndex = sortIndex;
        this.inTime = inTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public int getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(int sortIndex) {
        this.sortIndex = sortIndex;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }
}
